package com.fxm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fxm.domain.Sign;
import com.fxm.returns.RespEntity;
import com.fxm.returns.RespTable;
import com.fxm.vo.param.RewardParam;
import com.fxm.vo.result.RewardResult;
import com.fxm.vo.result.SignResult;
import java.util.List;

/**
 * <p>
 * 签到总览 服务类
 * </p>
 *
 * @author fxm
 * @since 2021-02-23
 */
public interface SignService extends IService<Sign> {
    /**
     * 签到总览列表
     * @param page
     * @param limit
     * @param username
     * @return
     */
    RespTable<List<SignResult>> signList(Integer page, Integer limit, String username);

    /**
     * 签到奖励列表
     * @return
     */
    RespEntity<RewardResult> rewardList();

    /**
     * 编辑签到积分奖励
     * @param rewardParam
     * @return
     */
    RespEntity updateReward(RewardParam rewardParam);
}
